package com.hymall.service.admin;

import com.hymall.bean.MarketStorage;
import com.hymall.bean.common.BasePageInfo;
import com.hymall.bean.common.CommonData;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author: 叶熠彬
 * @description: 对象存储
 * @date: 2022/7/18 11:52
 */
public interface StorageService {
    CommonData queryList(String key, String name, BasePageInfo info);

    MarketStorage addImage(MultipartFile file);

    MarketStorage updateImageName(MarketStorage storage);

    int deleteImage(MarketStorage storage);
}
